//
//  BCUserInfoCellModel.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/27.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "BCUserInfoCellModel.h"

#import "BCUserInfoHeadPortraitCell.h"
#import "BCUserInfoNameCell.h"
#import "BCUserInfoUIDCell.h"
#import "BCUserInfoRecommendCodeCell.h"

@implementation BCUserInfoCellModel

+ (NSMutableArray *)registerCells {
    NSMutableArray *cells = [NSMutableArray array];
    [cells addObject:NSStringFromClass(BCUserInfoHeadPortraitCell.class)];
    [cells addObject:NSStringFromClass(BCUserInfoNameCell.class)];
    [cells addObject:NSStringFromClass(BCUserInfoUIDCell.class)];
    [cells addObject:NSStringFromClass(BCUserInfoRecommendCodeCell.class)];
    return cells;
}








/**
 头像
 */
+ (BCUserInfoCellModel *)headPortrait {
    BCUserInfoCellModel *model = [BCUserInfoCellModel new];
    model.cellClass = BCUserInfoHeadPortraitCell.class;
    model.titleKey = @"user_info_head_portrait";
    return model;
}
/**
 名字
 */
+ (BCUserInfoCellModel *)name {
    BCUserInfoCellModel *model = [BCUserInfoCellModel new];
    model.cellClass = BCUserInfoNameCell.class;
    model.titleKey = @"user_info_name";
    return model;
}
/**
 UID
 */
+ (BCUserInfoCellModel *)UID {
    BCUserInfoCellModel *model = [BCUserInfoCellModel new];
    model.cellClass = BCUserInfoUIDCell.class;
    model.titleKey = @"UID";
    return model;
}
/**
 推荐码
 */
+ (BCUserInfoCellModel *)recommendCode {
    BCUserInfoCellModel *model = [BCUserInfoCellModel new];
    model.cellClass = BCUserInfoRecommendCodeCell.class;
    model.titleKey = @"user_info_recommend_code";
    return model;
}


@end
